package org.bitterorange.flansmodslain.models;

import org.bukkit.entity.Player;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;

public class BukkitAmmoSupplyEvent extends Event {
    private static final HandlerList Handlers = new HandlerList();
    private final Player supplier;
    private final Player supplied;
    private final int clips;


    public BukkitAmmoSupplyEvent(Player supplier, Player supplied, int clips) {
        this.supplier = supplier;
        this.supplied = supplied;
        this.clips = clips;
    }

    public Player getSupplier() {
        return supplier;
    }

    public Player getSupplied() {
        return supplied;
    }

    public int getClips() {
        return clips;
    }

    public static HandlerList getHandlerList() {
        return Handlers;
    }

    @Override
    public HandlerList getHandlers() {
        return Handlers;
    }
}
